package src.domain.system;
// Generated 12 Des 11 9:06:00 by Hibernate Tools 3.2.1.GA



/**
 
 */
public class BranchPcId  implements java.io.Serializable {

    private Integer branchId;
    private Integer seq;

    public BranchPcId() {
    }

    public BranchPcId(Integer branchId, Integer seq) {
       this.branchId = branchId;
       this.seq = seq;
    }

    public Integer getBranchId() {
        return branchId;
    }

    public void setBranchId(Integer branchId) {
        this.branchId = branchId;
    }

    public Integer getSeq() {
        return seq;
    }

    public void setSeq(Integer seq) {
        this.seq = seq;
    }
        

   @Override
   public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof BranchPcId) ) return false;
		 BranchPcId castOther = ( BranchPcId ) other; 
         
		 return (this.getBranchId()==castOther.getBranchId())
 && (this.getSeq()==castOther.getSeq());
   }
 
   @Override
   public int hashCode() {
         Integer result = 17;
         
         result = 37 * result + this.getBranchId();
         result = 37 * result + this.getSeq();
         return result;
   }   


}


